package com.ljl.ningwei.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.ljl.ningwei.entity.User;

import java.util.List;
/**
 * @author ljl
 * @since 2025-04-02 13:17:55
 */
public interface UserService  {

    User getById(Long id);

    User extractById(Long id);

    Long edit(User requestParam);

    void delete(Long id);

    List<User> list();

    /**
     * 用户注册
     * @param user
     */
    void register(User user);
    /**
     * 用户登录
     *
     * @param
     * @return
     */
    String login(String account, String password) ;
}
